#ifndef _SHADER_MANAGER_SOURCE_CODE_
#define _SHADER_MANAGER_SOURCE_CODE_

#include <vector>
#include <string>

namespace ShaderManager
{

class smSourceCode
{
public:
	smSourceCode(const std::string& filename);
	~smSourceCode();

	char * getCode();

	void displayOpenglLog(const std::string openGLlog);

private:
	std::string LoadSource(std::string filename, int& linen);
	std::string code;
	std::vector<std::string> filenames;
	std::vector<int> lines;
	std::vector<int> locallines;
};

}

#endif